import { DescItem } from '/@/components/Description/index';
export const data = {};

export const FormSchema: DescItem[] = [
  {
    field: 'code',
    label: '订单编号',
  },
  {
    field: 'date',
    label: '订单日期',
  },
  {
    field: 'orderType',
    label: '订单类型',
  },
  {
    field: 'orderState',
    label: '订单状态',
  },
];

export const schemasShipment: DescItem[] = [
  {
    field: 'startCustomerName',
    label: '发货客户',
  },
  {
    field: 'startContacts',
    label: '发货联系人',
  },
  {
    field: 'startPhone',
    label: '发货电话',
  },
  {
    field: 'startProvince',
    label: '发货省份',
  },
  {
    field: 'startCity',
    label: '发货城市',
  },
  {
    field: 'startArea',
    label: '发货县区',
  },
  {
    field: 'startAddress',
    label: '发货详细地址',
  },
];

export const schemasReceived: DescItem[] = [
  {
    field: 'endCustomerName',
    label: '收货客户',
  },
  {
    field: 'endContacts',
    label: '收货联系人',
  },
  {
    field: 'endPhone',
    label: '收货电话',
  },
  {
    field: 'endProvince',
    label: '收货省份',
  },
  {
    field: 'endCity',
    label: '收货城市',
  },
  {
    field: 'endArea',
    label: '收货县区',
  },
  {
    field: 'endAddress',
    label: '收货详细地址',
  },
];

export const schemasGoods: DescItem[] = [
  {
    field: 'nameGoods',
    label: '货物名称',
  },
  {
    field: 'packingMethod',
    label: '包装方式',
  },
  {
    field: 'paymentMethod',
    label: '付款方式',
  },
  {
    field: 'number',
    label: '件数',
  },
  {
    field: 'weight',
    label: '重量',
  },
  {
    field: 'volume',
    label: '体积',
  },
  {
    field: 'freight',
    label: '运费',
  },
  {
    field: 'paymentGoods',
    label: '代收货款',
  },
  {
    field: 'valueGoods',
    label: '货物价值',
  },
  {
    field: 'insuredValue',
    label: '保价金额',
  },
];

export const schemasExtra: DescItem[] = [
  {
    field: 'deliveryService',
    label: '送货服务',
  },
  {
    field: 'handlingServices',
    label: '装卸服务',
  },
  {
    field: 'receiptService',
    label: '回单服务',
  },
  {
    field: 'insuranceServices',
    label: '保险服务',
  },
  {
    field: 'smsServices',
    label: '短信服务',
  },
  {
    field: 'warehousingServices',
    label: '仓储服务',
  },
  {
    field: 'upstairsService',
    label: '上楼服务',
  },
  {
    field: 'floorNumber',
    label: '楼层',
  },
  {
    field: 'dispatchCar',
    label: '派车提货',
  },
  {
    field: 'requirement',
    label: '提货要求',
  },
];

export const schemasOther: DescItem[] = [
  {
    field: 'customerCode',
    label: '客户单号',
  },
  {
    field: 'productType',
    label: '产品类型',
  },
  {
    field: 'prescription',
    label: '时效',
  },
  {
    field: 'salesman',
    label: '业务员',
  },
  {
    field: 'remarks',
    label: '备注',
  },
];

export const FormData = {
  code: 'DD2103250001',
  date: '2021-03-25',
  orderType: '接口订单',
  orderState: '待派车',
};
export const shipmentData = {
  startCustomerName: 'C001523',
  startContacts: '老黄',
  startPhone: '13249788868',
  startProvince: '北京',
  startCity: '北京',
  startArea: '东城',
  startAddress: '解放路29号',
};
export const receivedData = {
  endCustomerName: 'CR001866',
  endContacts: '小程',
  endPhone: '13249788683',
  endProvince: '天津',
  endCity: '天津',
  endArea: '河北',
  endAddress: '廉泉路口534号',
};
export const goodsData = {
  nameGoods: '配件',
  packingMethod: '',
  paymentMethod: '现付',
  number: '40',
  weight: '1,000.00',
  volume: '3.00',
  freight: '500.00',
  paymentGoods: '0.00',
  valueGoods: '0.00',
  insuredValue: '0.00',
};
export const extraData = {
  deliveryService: '是',
  handlingServices: '否',
  receiptService: '	是',
  insuranceServices: '否',
  smsServices: '否',
  warehousingServices: '否',
  upstairsService: '否',
  floorNumber: '0',
  dispatchCar: '否',
  requirement: '',
};
export const otherData = {
  customerCode: '',
  productType: '速提闪送',
  prescription: '普通',
  salesman: '',
  remarks: '',
};
